package com.atguigu.order.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@ConfigurationProperties(prefix="gulimall.threadpool")
@Component
@Data
public class ThreadPoolConfigProperties {
    private Integer coreThreadSize;
    private Integer maxThreadSize;
    private Integer keepAliveTime;
}
